projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703d696
)
testgtk: Stop using gdk_surface_get_state
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 Mar 2020 17:41:25 +0000
(12:41 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 12 Mar 2020 18:56:20 +0000
(14:56 -0400)
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index 77fa65e7f0c9d39e5835ef0196264eaa007b6c29..d160d680730d0ff3374d615ef3ee14a1cdbc380a 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-4736,7
+4736,7
@@
surface_state_callback (GdkSurface *window,
gchar *msg;
GdkSurfaceState new_state;
- new_state = gdk_
surface_get_state (window
);
+ new_state = gdk_
toplevel_get_state (GDK_TOPLEVEL (window)
);
msg = g_strconcat ((const char *)g_object_get_data (G_OBJECT (label), "title"), ": ",
(new_state & GDK_SURFACE_STATE_WITHDRAWN) ?
"withdrawn" : "not withdrawn", ", ",